﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DBModel.EM
{
    //查询配置表
    [Table("EmailServiceConfig")]
    public class EmailServiceConfig : Entity
    {
        /// <summary>
        /// 网站名称
        /// </summary>
        [MaxLength(500)]
        public string WebName { get; set; }

        /// <summary>
        /// 网站标志
        /// </summary>
        [MaxLength(500)]
        public string WebSite { get; set; }

        /// <summary>
        /// 网站链接
        /// </summary>
        [MaxLength(2000)]
        public string WebUrl { get; set; }

        /// <summary>
        /// 网站关键字
        /// </summary>
        [MaxLength(2000)]
        public string WebKeyword { get; set; }

        /// <summary>
        /// 上一次成功的时间
        /// </summary>
        public DateTime LastSuccessTime { get; set; }

    }
}
